package com.uplift.mobile.product.model;

import org.apache.ibatis.type.Alias;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

import com.uplift.common.base.BaseModel;

@Alias(value = "product")
public class Product extends BaseModel {
	private String id;
	private String name;
	private String pic;
	private CommonsMultipartFile pf;
	private CommonsMultipartFile[] dpf;
	private String intro;
	private String originalPrice;
	private String currentPrice;
	private String stockQuantity;
	private String status;
	private String pubTime;

	private String delDpfIds;	// 删除的图片Id
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public CommonsMultipartFile getPf() {
		return pf;
	}

	public void setPf(CommonsMultipartFile pf) {
		this.pf = pf;
	}

	public CommonsMultipartFile[] getDpf() {
		return dpf;
	}

	public void setDpf(CommonsMultipartFile[] dpf) {
		this.dpf = dpf;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public String getOriginalPrice() {
		return originalPrice;
	}

	public void setOriginalPrice(String originalPrice) {
		this.originalPrice = originalPrice;
	}

	public String getCurrentPrice() {
		return currentPrice;
	}

	public void setCurrentPrice(String currentPrice) {
		this.currentPrice = currentPrice;
	}

	public String getStockQuantity() {
		return stockQuantity;
	}

	public void setStockQuantity(String stockQuantity) {
		this.stockQuantity = stockQuantity;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getPubTime() {
		return pubTime;
	}

	public void setPubTime(String pubTime) {
		this.pubTime = pubTime;
	}

	public String getDelDpfIds() {
		return delDpfIds;
	}

	public void setDelDpfIds(String delDpfIds) {
		this.delDpfIds = delDpfIds;
	}
	
}
